src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Silence warning.
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 11 Nov 2012 14:19:13 +0000 (15:19 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 11 Nov 2012 14:19:13 +0000 (15:19 +0100)
src/ChangeLog
src/xdisp.c

index e0620573a1eca6b217844f139210a1e6f514098e..98ea3007f8dc1849035311fce7b0f784dd11d2a5 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-11  Juanma Barranquero  <lekktu@gmail.com>
+
+       * xdisp.c (start_hourglass) [HAVE_NTGUI]: Add block to silence
+       warning about mixing declarations and code in ISO C90.
+
 2012-11-10  Martin Rudalics  <rudalics@gmx.at>
 
        * window.c (Fsplit_window_internal): Set combination limit of
index 46d942ce441335a234e1877fead8a92eabc33243..968c23c09440aaf0f38a7c89dcf148aaca00c770 100644 (file)
@@ -29420,8 +29420,10 @@ start_hourglass (void)
     delay = make_emacs_time (DEFAULT_HOURGLASS_DELAY, 0);
 
 #ifdef HAVE_NTGUI
-  extern void w32_note_current_window (void);
-  w32_note_current_window ();
+  {
+    extern void w32_note_current_window (void);
+    w32_note_current_window ();
+  }
 #endif /* HAVE_NTGUI */
 
   hourglass_atimer = start_atimer (ATIMER_RELATIVE, delay,